<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="viewport-fit=cover, width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<meta http-equiv="Expires" content="0">
		<meta http-equiv="Pragma" content="no-cache">
		<meta http-equiv="Cache-control" content="no-cache">
		<meta http-equiv="Cache" content="no-cache">
		<title>
			<%= htmlWebpackPlugin.options.title %>
		</title>
		<script>
			// 是否嵌入八闽生活
			window.__if8min__ = false
			function callWeb(obj) {
				window.__if8min__ = true
			}
			// 获取渠道编码
			const href = window.location.pathname
			const chanelReg = /\/(_[^\/]*\/)/g
			chanelReg.exec(href)
			window.__channelId = (RegExp.$1.indexOf('_') != -1) ? RegExp.$1 : '_TMDHPL/'
			// 对新悦云标题修改
			if (window.__channelId == '_ODQKGC/') {
				document.title = '新悦云阅读'
			}
			//移动amber埋点
			var _mgds = _mgds || [];
			(function() {
				var etm = 1 * Date.now();
				_mgds.push(['_enterTime', etm]);
				_mgds.push(['_accountId', '194c29add1b7463ea4e3b4ccd66d4653']);
				_mgds.push(['_trackSwitch', '00']);
				_mgds.push(['_isInBrowser', false]);
				_mgds.push(['_inAppIsUpload', true]);
				(function() {
					var vds = document.createElement('script');
					vds.type = 'text/javascript';
					vds.async = true;
					vds.src = 'https://uem.migu.cn:18088/uemjs/amber-web-sdk-min.js';
					var s = document.getElementsByTagName('script')[0];
					s.parentNode.insertBefore(vds, s);
				})();

				//百度投放引流
				if (self == top) {
					var s = document.createElement("script"); s.async=true; s.src="https://ss.migudm.cn/mgmall/js/mg_sdc_load.js";
					var s2 = document.getElementsByTagName("script")[0]; s2.parentNode.insertBefore(s,s2);
				}
			})();
		</script>
		<link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
	</head>
	<body>
		<noscript>
			<strong>Please enable JavaScript to continue.</strong>
		</noscript>

		<div id="app"></div>


		<script type="text/javascript">

		</script>
	</body>
</html>
